package com.app.model;


import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.app.util.ExcelImport;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_protection_point")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class ProtectionPointModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;//保护点名称
    private String longitude;//经度
    private String latitude;//纬度
    private Integer departmentId;//部门Id
    private String radius;//半径
    private String contactInformation;//联系方式
    private String remark;//备注
    private Timestamp createTime;
    private Timestamp updateTime;

    //@ExcelProperty(index = 0)
    private Integer number;  //序号
    @TableField(exist = false)
    private String departmentName;
    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String address;

}
